package com.wanxs.mall.product.fegin;

import com.wanxs.mall.common.dto.es.SkuESModel;
import com.wanxs.mall.common.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("search-server")
public interface SearchFeginService {

    @PostMapping("/search/save/product")
    public Result productStatusUp(@RequestBody List<SkuESModel> skuESModels);
}


